/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package collections;

/**
 *
 * @author Iskandar Sarkawi
 */
public class UsingChar {
    public static void main(String[] args) {
        char ch = 'a'; 
        char[] charArray ={ 'a', 'b', 'c', 'd', 'e' }; // an array of chars
        //char[] charArray ={ 'aa', 'bb', 'cc', 'dd', 'ee' }; // error

        System.out.println("Printing Chars");
        //System.out.println('Printing Chars'); //error, use double quote
        System.out.println(ch);
        System.out.println(charArray);
    }

}
